from typing import TypedDict,Literal,Dict
class CommonOption(TypedDict):
    with_o2:bool
class OIConfig(TypedDict):
    problem_id:str
    lang:Literal["c++","python"]
    code:str
    settings:CommonOption
class TextConfig(TypedDict):
    problem_id:str
    outputs:Dict[int,str]